package com.gls.security.server.authorization.jpa.repository;

import com.gls.security.server.authorization.jpa.entity.Client;
import com.gls.starter.data.jpa.repository.BaseRepository;

/**
 * @author lizhiyong
 */
public interface ClientRepository extends BaseRepository<Client, Long> {

    /**
     * 根据客户端ID获取客户端信息
     *
     * @param clientId
     * @return
     */
    Client findByClientId(String clientId);
}
